import { createApp } from "vue";
import { Quasar, AppFullscreen } from "quasar";
import App from "./App.vue";
import FullscreenDirective from "./fullscreen-directive";
// 创建 Vue 应用实例
const app = createApp(App);

// 使用 Quasar 插件
app.use(Quasar, {
  config: {
    // 其他 Quasar 配置...
    plugins: {
      AppFullscreen,
    },
    fullscreen: {
      isFullscreen: false, // 设置初始状态为全屏模式
    },
  },
});
app.directive("fullscreen", FullscreenDirective);
// 挂载应用到 DOM
app.mount("#app");
